package com.luoc.spring.CircleDependcy;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

/**
 * @author luoc
 * @version 1.0
 * @date 2021/3/10 16:53
 * @since 1.0
 */
public class Test {

    public static void main(String[] args) {
        BeanFactory bf = new XmlBeanFactory(new ClassPathResource("beanFactoryTest.xml"));
        System.out.println(bf.getBean("a"));
    }
}
